//
//  ZHomeAdvertViewController.m
//  DoctorFAQs
//
//  Created by zjq on 17/3/22.
//  Copyright © 2017年 zjq. All rights reserved.
//

#import "ZHomeAdvertViewController.h"

@interface ZHomeAdvertViewController ()
@property (nonatomic,strong) UIWebView * theWebView;
@end

@implementation ZHomeAdvertViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    NSURL * url = [NSURL URLWithString:self.URLString];
    [self.theWebView loadRequest:[NSURLRequest requestWithURL:url]];
    [self.view addSubview:self.theWebView];
    [self.theWebView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.equalTo(self.view);
    }];
}
- (UIWebView *)theWebView {
    if (_theWebView) {
        return _theWebView;
    }
    _theWebView = [[UIWebView alloc] init];
    _theWebView.backgroundColor = [UIColor whiteColor];
    return _theWebView;
}


@end
